﻿namespace 请求响应加密.attr
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false,Inherited = true)]
    public class ExcelSheetAttribute : Attribute
    {
        public string SheetName { get;set; }
        public int StartRow { get; set; }
        public bool ShowColumnHeader { get; set; }

        public ExcelSheetAttribute(string sheetName, int startNum = 0, bool showColumnHeader = false)
        {
            SheetName = sheetName;
            StartRow = startNum;
            ShowColumnHeader = showColumnHeader; 
        }
    }
}
